package com.brozha.ans_sys.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author brozha
 * @since 2021-04-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Question对象", description="")
public class Question implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    @ApiModelProperty(value = "1为正常，2为修改待审核的，3为上传待审核的其中1、2都可以正常选取，3则需要审核完了选取")
    private Integer quState;

    private String quTitle;

    @ApiModelProperty(value = "1为单选，2为多选，3为判断")
    private Integer quType;

    private String ansa;

    private String ansb;

    private String ansc;

    private String ansd;

    private String ans;

    private String reason;

    @ApiModelProperty(value = "上传者id")
    private String userId;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;


}
